﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace L.M.System.Domain.Entity
{

    /// <summary>
    /// 单位表实体类
    /// </summary>
    [SugarTable("table_of_units")]
    public class table_of_units
    {
        /// <summary>
        /// 单位编号
        /// </summary>
        [SugarColumn(IsPrimaryKey = true, ColumnDescription = "单位编号")]
        public string? unit_number { get; set; }

        /// <summary>
        /// 单位名称
        /// </summary>
        [SugarColumn(ColumnDescription = "单位名称", Length = 200)]
        public string? unit_name { get; set; }

        /// <summary>
        /// 操作人
        /// </summary>
        [SugarColumn(ColumnDescription = "操作人", Length = 200)]
        public string? unit_operator { get; set; }

        /// <summary>
        /// 状态
        /// </summary>
        [SugarColumn(ColumnDescription = "状态")]
        public bool unit_status { get; set; }

        /// <summary>
        /// 操作日期
        /// </summary>
        [SugarColumn(ColumnDescription = "操作日期")]
        public DateTime unit_operator_date { get; set; } = DateTime.Now;
    }
}
